package com.example.dzbsh.service;

import com.example.dzbsh.dao.DictJingshangleixingMapper;
import com.example.dzbsh.model.DictJingshangleixing;
import com.example.dzbsh.model.DictJingshangleixingExample;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class DictJingshangleixingService {

    @Resource
    DictJingshangleixingMapper ddMapper;

    public List<DictJingshangleixing> findAll(){
        DictJingshangleixingExample mmExample = new DictJingshangleixingExample();
        mmExample.setOrderByClause("ordernum");
        return ddMapper.selectByExample(mmExample);
    }

}
